package com.wx.mall.operate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author j
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("op_seckill_item")
@ApiModel(value="SeckillItem对象", description="")
public class SeckillItem implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "SKU_ID")
    private Long skuId;

    @ApiModelProperty(value = "SPU_ID")
    private Long spuId;

    @ApiModelProperty(value = "编号")
    private Long number;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "货号")
    private String spuNum;

    @ApiModelProperty(value = "商品价格")
    private Integer money;

    @ApiModelProperty(value = "秒杀价格")
    private Integer seckillMoney;

    @ApiModelProperty(value = "秒杀数量")
    private Integer seckillNum;

    @ApiModelProperty(value = "剩余数量")
    private Integer surplus;

    @ApiModelProperty(value = "排序")
    private String sort;

    @ApiModelProperty(value = "限购数量")
    private Integer purchaseLimit;

    @ApiModelProperty(value = "软删除")
    private Integer deletes;


}
